import request from '@/utils/request'

// 获取车辆轨迹的mds 登录
export function getVehiclePositionLoginMds() {
    return request({
        url: 'api/parks/VehiclePosition/selectLoginMds',
        method: 'get',
    })
}

// 获取视频监控
export function getVideoMonitoring(data) {
    return request({
        url: 'api/parks/HaiKang/callCameraUrl',
        method: 'post',
        data
    })
}

// 获取视空气检测
export function getWeatherMonitoringSearch(params) {
    return request({
        url: 'api/parks/AirDetection/WeatherMonitoringSearch',
        method: 'get',
        params
    })
}

// 获取车辆列表
export function getVehiclePositionDeviceList() {
    return request({
        url: `api/parks/VehiclePosition/getDeviceList`,
        method: 'get',
    })
}

// 获取单个汽车定位信息
export function getUserAndGpsInfoByIDsUtc(params) {
    return request({
        url: 'api/parks/VehiclePosition/getUserAndGpsInfoByIDsUtc',
        method: 'get',
        params
    })
}

// 获取所有企业列表
export function getAListOfAllBusinesses() {
    return request({
        url: 'api/parks/ManualData/selectInfo',
        method: 'get',
    })
}

// 获取企业介绍详情
export function getCompanyPresentationDetails(params) {
    return request({
        url: `api/parks/ManualData/selectInfoById/${params}`,
        method: 'get',
    })
}

// 获取企业分类
export function getCompanyClass() {
    return request({
        url: `api/parks/ManualData/selectCategories`,
        method: 'get',
    })
}
